class User {
  uname: string = 'tom'
  age: number | undefined
  isMarried: boolean | undefined
  userList: String[] | undefined
  jobList: any

  f1(n1: string, n2: number): void {
    this.uname = "20"
    this.age = 40
    this.isMarried = true
    this.userList = ["冰冰"]
    this.jobList = ["流浪者"]
  }
}

let u1 = new User()
u1.f1("tom", 30)
